<?php


class InfoClientView extends View
{
	
	public function __construct(){
		
		$temp=dirname(__FILE__).DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'template'.DIRECTORY_SEPARATOR.'InfoClientTemplate.php';
		$this->setTemplate($temp);
		$lay=dirname(__FILE__).DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'layout'.DIRECTORY_SEPARATOR.'Layout.php';
		$this->setLayout($lay);
	}
	
	
	public function display(HttpRequest $request)
    {
        $this->setRequest($request);
        ob_start();
        require($this->getTemplate());
        $content = ob_get_contents();
        ob_end_clean();
        include $this->getLayout();
    }
}
?>